// --------------------------------------------------------------------------------------------------------------------- 
// <copyright file="WorkItemLink.cs" company="Scrum for Team System">
//   None
// </copyright>
// <summary>
//   Defines the WorkItemLink type.
// </summary>
// ---------------------------------------------------------------------------------------------------------------------
namespace ScrumForTeamSystem.EventService.AggregationService.DataObjects
{
    using System.Xml.Serialization;

    /// <summary>
    /// Defines the Link type.
    /// </summary>
    public class WorkItemLink
    {
        /// <summary>
        /// Gets or sets the name of the link type.
        /// </summary>
        /// <value>The name of the link type.</value>
        [XmlAttribute(AttributeName = "linktypename")]
        public string LinkTypeName
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets a value indicating whether the target is on the forward link side.
        /// </summary>
        /// <value>
        /// <c>true</c> if the target exists on the forward link; otherwise, <c>false</c>.
        /// </value>
        [XmlAttribute(AttributeName = "isforward")]
        public bool IsTargetOnForwardLink
        {
            get;
            set;
        }
    }
}